package com.hhxy.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ghp
 * @date 2023/5/4
 * @title
 * @description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "角色状态修改数据传输对象")
public class ChangeRoleStatusDto {
    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", notes = "角色id不能为空", dataType = "Long.class")
    @NotNull(message = "角色id不能为空")
    private Long roleId;
    /**
     * 角色状态
     */
    @ApiModelProperty(value = "角色状态", notes = "角色状态不能为空")
    @NotBlank(message = "角色状态不能为空")
    private String status;
}
